@import "mixin-fun";
@import "common/common";
body,html{
    margin: 0;
    padding: 0;
    height: 100%;
    margin: 0;
}
svg{
    display: none;
}
#machine2{
    .slot1{
        margin-top: rem(-72);
    }
}
.app{
    height: 100%;
    background: url(../img/bg_f.png);
    background-size: contain;
    text-align: center;
    background-repeat: repeat-x;
    background-position: center bottom;
    background-color: #004782;
    overflow: hidden;
    & img{
        max-width:100%;
        max-height: 100%;
        display: block;
        margin: 0 auto;
    }
    .top_p{
        .top{
            position: relative;
            height: rem(120);
            .left_logo{
                width: rem(270);
                position: absolute;
                top:rem(40);
                left:50%;
                margin-left: rem(-135);
            }
            .right_logo{
                width: rem(270);
                position: absolute;
                top:rem(20);
                right: rem(20);
                .text{
                    text-align: right;
                    color: #009944;
                }
                .img{
                    margin-left: rem(70);
                    & li{
                        width: rem(35);
                        float: right;
                        margin-left:2px; 
                    }
                }
            }
        }
    }
    .parent{
        padding-top: rem(70);
    }
    .btn_t{
        width: 85%;
        margin: 0 auto;
        text-align: center;
        & div{
            // float: left;
            width: 48%;
            height: rem(60);
            line-height: rem(60);
            border-radius: 5px;
            color: #fff;
        }
        .game_rules{
            background-color:#009944;
            margin: 0 auto;
            box-shadow: rem(2) rem(2) 0 rgba(55, 58, 149, 1);
        }
        .my_prize{
            margin-left: 4%;
            background-color:#f39700;
        }
    }
    .btn_x{
        width: 48%;
        height: rem(60);
        line-height: rem(60);
        margin: 0 auto;
        margin-top: rem(70);
        border-radius: 5px;
        background-color: #fff;
        color: #009944;
        font-size: rem(32);
        font-weight: 700;
        box-shadow: rem(2) rem(2) 0 rgba(55, 58, 149, 1);
    }
    .content{
        .bg{
            background-color: #00538e;
            height: rem(100);
        }
        .prize{
            width: 85%;
            overflow: hidden;
            margin: 0 auto;
            margin-top: rem(50);
            & li{
                width: 33.3333%;
                height: rem(270);
                float: left;
                background: url(../img/prize_k.png);
                background-size: contain;
                text-align: center;
                background-repeat: no-repeat;
                background-position: center bottom;
                & img{
                    max-width: 100%;
                    max-height: 100%;
                }
                .slotMachine{
                    width: rem(72);
                    height: rem(72);
                    margin: 0 auto;
                    margin-top: rem(78);
                    overflow: hidden;
                    background-color: #8a8a8b;
                }
                .slot{
                    width: rem(72);
                    height: rem(72);
                    position: relative;
                    text-align: center;
                    border: 1px solid #8a8a8b;
                    & img{
                        max-width: 100%;
                        max-height: 100%;
                        position: absolute;
                        top:50%; 
                        left:50%;
                        transform: translate(-50%,-50%);
                        border: 1px solid #8a8a8b;
                    }
                }
            }
        }
    }
    .message{
        width: 85%;
        margin: 0 auto;
        margin-top: rem(30);
        .rules_message,.prize_message{
            background-color: #009a44;
            height: rem(470);
            line-height: rem(30);
            border-radius: 10px;
            padding: rem(30);
            & p{
                color: #fff;
                text-align: left;
                margin-bottom: rem(5);
                font-size: rem(22);
            }
        }
        .prize_message{
            background-color: #f39700;
            .title{
                color: #fff;
                font-size: rem(30);
                font-weight: bold;
            }
            .code_num{
                width: 60%;
                height: rem(45);
                line-height: rem(45);
                margin: 0 auto;
                margin-top: rem(10);
                background-color: #fff;
                color: #000;
                font-weight: bold;
                font-size: rem(25);
            }
            .code{
                width: 50%;
                margin: 0 auto;
                margin-top: rem(15);
            }
            .hint{
                margin-top: rem(10);
                & p{
                    text-align: center;
                }
                .hint_p{
                    font-size: rem(18);
                }
            }
        }
    }
    .footer{
        width: 100%;
        position: absolute;
        bottom: rem(30);
        .img{
            width: rem(270);
            margin: 0 auto;
        }
        .text{
            width: 85%;
            margin: 0 auto;
            height: rem(45);
            line-height: rem(45);
            color: #fff;
            background-color: #15ae67;
            border-radius: 5px;
            margin-top: rem(40);
        }
    }
}